home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _4437E1CD8F9047FEBA359EFBD22580ED < prev    next >
Encoding:
Text File  |  2004-01-06  |  4.8 KB  |  130 lines

  1. --------------------------------------------------
  2. --    Created By: Kirll
  3. --   Description: The scout while scrambilng for cover
  4. --------------------------
  5. --
  6.  
  7. AIBehaviour.MutantScoutScramble = {
  8.     Name = "MutantScoutScramble",
  9.  
  10.     -- SYSTEM EVENTS            -----
  11.     ---------------------------------------------
  12.     OnSelected = function( self, entity )    
  13.     end,
  14.     ---------------------------------------------
  15.     OnSpawn = function( self, entity )
  16.         -- called when enemy spawned or reset
  17.     end,
  18.     ---------------------------------------------
  19.     OnActivate = function( self, entity )
  20.         -- called when enemy receives an activate event (from a trigger, for example)
  21.     end,
  22.     ---------------------------------------------
  23.     OnNoTarget = function( self, entity )
  24.         -- called when the enemy stops having an attention target
  25.     end,
  26.     ---------------------------------------------
  27.     OnPlayerSeen = function( self, entity, fDistance )
  28.         -- called when the enemy sees a living player
  29.     end,
  30.     ---------------------------------------------
  31.     OnEnemySeen = function( self, entity )
  32.         -- called when the enemy sees a foe which is not a living player
  33.     end,
  34.     ---------------------------------------------
  35.     OnFriendSeen = function( self, entity )
  36.         -- called when the enemy sees a friendly target
  37.     end,
  38.     ---------------------------------------------
  39.     OnDeadBodySeen = function( self, entity )
  40.         -- called when the enemy a dead body
  41.     end,
  42.     ---------------------------------------------
  43.     OnEnemyMemory = function( self, entity )
  44.         -- called when the enemy can no longer see its foe, but remembers where it saw it last
  45.     end,
  46.     ---------------------------------------------
  47.     OnInterestingSoundHeard = function( self, entity )
  48.         -- called when the enemy hears an interesting sound
  49.     end,
  50.     ---------------------------------------------
  51.     OnThreateningSoundHeard = function( self, entity )
  52.         -- called when the enemy hears a scary sound
  53.     end,
  54.     ---------------------------------------------
  55.     OnReload = function( self, entity )
  56.         -- called when the enemy goes into automatic reload after its clip is empty
  57.     end,
  58.     ---------------------------------------------
  59.     OnGroupMemberDied = function( self, entity )
  60.         -- called when a member of the group dies
  61.     end,
  62.     ---------------------------------------------
  63.     OnNoHidingPlace = function( self, entity, sender )
  64.         -- called when no hiding place can be found with the specified parameters
  65.         entity:SelectPipe(0,"scout_comeout");
  66.     end,    
  67.     ---------------------------------------------
  68.     OnReceivingDamage = function ( self, entity, sender)
  69.         -- called when the enemy is damaged
  70.     end,
  71.     ---------------------------------------------
  72.     OnCoverRequested = function ( self, entity, sender)
  73.         -- called when the enemy is damaged
  74.     end,
  75.  
  76.     REEVALUATE_POSITION = function (self, entity, sender)
  77.         entity:SelectPipe(0,"scout_comeout");
  78.     end,
  79.  
  80.  
  81.     -- GROUP SIGNALS
  82.     ---------------------------------------------    
  83.     KEEP_FORMATION = function (self, entity, sender)
  84.         -- the team leader wants everyone to keep formation
  85.     end,
  86.     ---------------------------------------------    
  87.     BREAK_FORMATION = function (self, entity, sender)
  88.         -- the team can split
  89.     end,
  90.     ---------------------------------------------    
  91.     SINGLE_GO = function (self, entity, sender)
  92.         -- the team leader has instructed this group member to approach the enemy
  93.     end,
  94.     ---------------------------------------------    
  95.     GROUP_COVER = function (self, entity, sender)
  96.         -- the team leader has instructed this group member to cover his friends
  97.     end,
  98.     ---------------------------------------------    
  99.     IN_POSITION = function (self, entity, sender)
  100.         -- some member of the group is safely in position
  101.     end,
  102.     ---------------------------------------------    
  103.     GROUP_SPLIT = function (self, entity, sender)
  104.         -- team leader instructs group to split
  105.     end,
  106.     ---------------------------------------------    
  107.     PHASE_RED_ATTACK = function (self, entity, sender)
  108.         -- team leader instructs red team to attack
  109.     end,
  110.     ---------------------------------------------    
  111.     PHASE_BLACK_ATTACK = function (self, entity, sender)
  112.         -- team leader instructs black team to attack
  113.     end,
  114.     ---------------------------------------------    
  115.     GROUP_MERGE = function (self, entity, sender)
  116.         -- team leader instructs groups to merge into a team again
  117.     end,
  118.     ---------------------------------------------    
  119.     CLOSE_IN_PHASE = function (self, entity, sender)
  120.         -- team leader instructs groups to initiate part one of assault fire maneuver
  121.     end,
  122.     ---------------------------------------------    
  123.     ASSAULT_PHASE = function (self, entity, sender)
  124.         -- team leader instructs groups to initiate part one of assault fire maneuver
  125.     end,
  126.     ---------------------------------------------    
  127.     GROUP_NEUTRALISED = function (self, entity, sender)
  128.         -- team leader instructs groups to initiate part one of assault fire maneuver
  129.     end,
  130. }